package com.woniuxy.user.service;

import com.woniuxy.commons.request.ResPage;
import com.woniuxy.user.entity.Role;
import com.woniuxy.user.vo.RoleVo;

import java.util.List;

public interface RoleService {
    ResPage<Role> getRoleList(RoleVo roleVo);

    Boolean checkName(String name);

    Boolean addRole(Role role);

    Boolean editRole(Role role);

    Boolean deleteRole(Integer id);


    List<Role> getRoleListForEmployee();
}
